package com.sjgtw.cloud.web.rainfall.mapper;

import java.util.List;
import com.sjgtw.cloud.web.rainfall.domain.RainfallInspection;

/**
 * 降雨巡视Mapper接口
 * 
 * @author lvyoufang
 * @date 2024-03-17
 */
public interface RainfallInspectionMapper 
{
    /**
     * 查询降雨巡视
     * 
     * @param id 降雨巡视主键
     * @return 降雨巡视
     */
    public RainfallInspection selectRainfallInspectionById(Long id);

    /**
     * 查询降雨巡视列表
     * 
     * @param rainfallInspection 降雨巡视
     * @return 降雨巡视集合
     */
    public List<RainfallInspection> selectRainfallInspectionList(RainfallInspection rainfallInspection);

    /**
     * 新增降雨巡视
     * 
     * @param rainfallInspection 降雨巡视
     * @return 结果
     */
    public int insertRainfallInspection(RainfallInspection rainfallInspection);

    /**
     * 修改降雨巡视
     * 
     * @param rainfallInspection 降雨巡视
     * @return 结果
     */
    public int updateRainfallInspection(RainfallInspection rainfallInspection);

    /**
     * 删除降雨巡视
     * 
     * @param id 降雨巡视主键
     * @return 结果
     */
    public int deleteRainfallInspectionById(Long id);

    /**
     * 批量删除降雨巡视
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRainfallInspectionByIds(String[] ids);
}
